<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no"/>
    <title>音乐上传</title>
    <style>
        body {
            background: #f0f2f5;
            padding: 50px 20px;
            font-family: Arial, sans-serif;
        }
        .upload-box {
            max-width: 500px;
            margin: 0 auto;
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .title {
            text-align: center;
            color: #333;
            margin-bottom: 25px;
            font-size: 20px;
        }
        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        input[type="file"] {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        input[type="text"] {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        input[type="submit"] {
            background: #1677ff;
            color: white;
            border: none;
            padding: 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 15px;
        }
        input[type="submit"]:hover {
            background: #0f62d9;
        }
    </style>
</head>
<body>
    <div class="upload-box">
        <h3 class="title">音乐文件上传</h3>
        <form method="POST" enctype="multipart/form-data" action="/music/upload">
            <div class="form-group">
                <label>选择文件：</label>
                <input type="file" name="filename"/>
            </div>
            <div class="form-group">
                <label>歌手名：</label>
                <input type="text" name="singer" placeholder="请输入歌手名"/>
            </div>
            <input type="submit" value="上传"/>
        </form>
    </div>
</body>
</html>